IApi.ReadAxisMopDisplay method

Reads the value of the Modes of Operation Display variable in PDO.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsReturn<byte> ReadAxisMopDisplay(
       int Index
)
Function ReadAxisMopDisplay(
       Index As Integer
) As KsReturn(Of Byte)

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

Return value

Type: KsReturn<byte>

Returns a KsError code and a byte value.

Remarks

Checks what mode of operation is in use.

NOTE:   The mode of operation is available only if EnableSynchronizedControlMode is enabled.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

IApi Interface

IntervalZero.KINGSTAR.Base.Api Namespace